
public class Dragon extends ColdBloodedAnimal {
	Dragon(){
		super();
		System.out.println("constructing dragon");
	}
	
	public void hunt(){
		slither();
		breathe();
		breatheFire();
	}

	
	@Override
	public void breathe(){
		super.breathe();
		System.out.println("SIGH!");
	}
	
	private void breatheFire() {
		System.out.println("mmm.... toasty");
	}
	
	public static void main(String[] args) {
		Dragon d = new BlueDragon();
		d.skin = "leathery";
		d.hunt();
	}
}
